home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / ig214.arc / PRIMER.IG < prev    next >
Text File  |  1990-05-01  |  6KB  |  124 lines

  1. G#I>0:s>0:k>0:H>0:C>2,0:B>0,179,639,200,0:
  2. A primer in IG.
  3.  
  4.       Instant Graphics is a powerful tool, but understanding it was
  5. hard for me at first. So I thought I'd try something to see if it might
  6. help others, and make IG more successful at the same time.. You must
  7. have your IG accessory file turned on. If you don't, most of the
  8. following will look like electron hell. 
  9.  
  10. There are 30 second timing delays set at the end of every screen, so
  11. when you want to move on just press a key. So here goes..
  12.  
  13.  
  14.  
  15.         << Press any key when your ready for the next page>>
  16. G#I>0:t>30:s>0:S>0,0,4,7:C>1,3:S>3,7,7,7:
  17. First, lets talk about speed. For IG to be successful, the
  18. speed of the graphic idea needs to be presented as FAST as possible!
  19. No one wants to wait and wait while thousands of bytes march through
  20. the modem to create your masterpiece on the their screen. There are
  21. shortcuts that dramatically increase the speed of presentation.
  22.  
  23. I've seen some screens that first draw a box, sometimes line by line.
  24.  
  25.                         <press 'dat key!>
  26. G#S>2,0,4,7:C>2,2:O>220,125,90:C>2,0:O>220,125,80:C>1,2:T>2,0,9:
  27. G#L>278,98,158,151:G>1,3,125,80,315,170:C>2,0:B>175,80,265,170,1:
  28. G#C>1,3:T>2,1,1:M>2:
  29. G#t>30:C>3,3:W>190,110,G#L 50,100,150,100:@L>50,100,150,100:b>11:t>1:
  30. G#W>190,120,G#L 150,100,150,150:@L>150,100,150,150:b>11:t>1:
  31. G#W>190,130,G#L 150,150,50,150:@L>150,150,50,150:b>11:t>1:
  32. G#W>190,140,G#L 50,150,50,100:@L>50,150,50,100:b>17:E>0,8,0:
  33. G#W>196,150, A total of 80 bytes.@E>4,8,0:
  34. G#W>186,158,including carriage returns@t>3:b>8:
  35.                                          ...When a simple box command is..
  36. G#E>0,9,0:W>425,120,G#B 50,150,150,150,0:@
  37. G#E>4,8,0:W>445,130,A total of 22 bytes@
  38. G#W>415,138, including carriage returns@t>3:b>4:S>2,7,0,0:
  39. G#G>2,7,125,80:t>2:b>8:W>275,190,<Press a Key>@t>30:t>1:s>0:
  40. And then, they usually put some text in the box and then fill the box
  41. with a color or pattern. The problem with that is the fill command is very
  42. slow, and it slows down even further when it encounters odd surfaces, like
  43. text. Also it leaves holes in the fill on closed letters..A,B,D,Q,O,P etc.
  44. Lets take a look at the "old way"...press a key. 
  45. G#t>30:C>2,1:A>2,8,1:H>1:B>40,50,610,181,0:C>3,2:E>1,20,0:
  46. G#W>212,120,FIRST THE BOX@b>8:t>2:H>0:C>2,0:B>42,51,608,180,0:
  47. G#E>0,9,0:W>225,70,OOO THEN THE TEXT OOO@b>8:
  48. G#W>190,100,T'was brillig and the slithy toves@
  49. G#W>190,110,Did gyre and gimble in the wabe.@
  50. G#W>190 120,All mimsy were the burrough groves@
  51. G#W>190,130,And the mome raths outgrabe!@t>2:b>8:E>16,10,0:
  52. G#W>235,160,And then the fill@t>1:
  53. G#A>1,8,0:C>2,1:F>300,115:t>1:C>2,0:
  54. G#S>3,7,0,0:b>4:G>2,4,220,65:t>2:B>39,49,611,182,0:b>17:s>0:
  55. Why not just draw a filled box right from the start, then drop the text
  56. down onto the box in the transparent mode? The speed difference is
  57. considerable, and the letters look filled in correctly....like so..
  58. G#C>3,3:S>3,7,7,7:E>0,9,0:W>250,100,Press a key@
  59. G#t>30:H>0:C>2,1:B>40,50,610,181,0:E>4,10,0:M>2:
  60. G#b>11:W>195,110,One heck of lot faster then the@
  61. G#W>227,130,the "old way", eh mate?@t>5:b>17:
  62. G#s>0:S>0,0,7,7:
  63.                            FASTER IS BETTER!
  64.  
  65. There are many other ways to pick up speed dramatically, and if any of
  66. you show interest, I'd be glad to continue this discussion in other
  67. posts. 
  68.  
  69. Two things I feel I must mention though....
  70.  
  71.                          One: The IGS Editor 
  72.  
  73.          As it operates now, it produces the...<go on press it!>
  74. G#E>0,20,0:C>3,2:t>30:M>2:W>90,120,THE SLOWEST POSSIBLE CODE@b>1:
  75. G#W>150,150,IN THE UNIVERSE!!!@t>2:
  76. G#s>0:S>0,7,3,3:S>2,7,7,7:S>3,0,0,7:
  77. Please don't get me wrong! The IGS Editor is a very useful tool.. Anthony
  78. Rau and Kevin Moody should be congratulated for their efforts. Instant
  79. Graphics screens would be very difficult to create without the Editor.
  80. The correct placement of text, circles, arcs and fills would become so
  81. frustrating, that IG would probably be avoided by most budding artists.
  82.  
  83.   Unfortunately, the code produced by the Editor is less then optimum.
  84. If you draw, say, a series of boxes, the code might look like this...
  85.                          << press anything >>
  86. G#b>8:E>0,9,0:C>3,2:A>2,4,1:t>30:W>50,80,G#C 2,3:@W>50,90,G#A 2,4,1:@
  87. G#W>50,100,G#A 2,4,1:@W>50,110,G#B 300,90,350,120,1:@
  88. G#W>50,120,G#A 2,4,1:@W>50,130,G#B 325,100,400,140,1:@
  89. G#W>50,140,G#A 2,4,1:@W>50,150,G#B 350,110,450,160,1:@
  90. G#W>50,160,G#A 2,4,1:@W>50,170,G#B 375,120,500,180,1:@C>2,3:
  91. G#B>300,90,350,120,1:B>325,100,400,140,1:B>350,110,450,160,1:
  92. G#B>375,120,500,180,1:C>2,0:A>2,8,0:M>1:t>3:b>8:B>0,0,639,71,0:p>0,1:
  93. Commands, once stated, are in effect until changed by a statement of the
  94. same type, but with different values. All of these redundant statemements
  95. slow the graphic down considerably. Use a text editor to eliminate them.
  96. G#W>28,50,These commands are unessasary.@
  97. G#C>1,2:L>20,47,8,47:D>8,157:T>2,1,52:L>8,97,42,97:L>8,117,42,117:
  98. G#L>8,137,40,137:L>8,157,40,157:t>5:b>8:W>375,80,<Press a key, dood>@
  99. G#t>30:s>0:b>17:S>0,7,7,0:S>2,7,0,0:
  100. And second..
  101.  
  102.       All of us are creative beings. We all create art, music, ideas,
  103.       and just about everything else that exists in todays social world.
  104.       Along with the joy of that creation, comes pride in our own
  105.       efforts. I create my screens without putting my name on them since
  106.       I feel it detracts from the feeling that the artwork belongs to all
  107.       of us.......which it does.
  108.  
  109.  
  110.       I also realize that there have already been some misguided
  111.       people who have been putting their own name on my efforts and
  112.       claiming to be the author. I can only feel sorry that those folks
  113.       feel it necessary to lie about something so silly as that, and
  114.       deface something beautiful in the process...tsk, tsk.
  115.  
  116.  
  117.       I'm tossing my creative contributions out into the electronic
  118.       ether so that you can enjoy them, and I hope to be seeing some
  119.       of yours soon. Let's make movies!!!
  120.  
  121.                                           Mr. Rodgers  <<Happy Trails!!>>
  122. G#C>3,1:E>0,8,0:W>30,190, <Press a key and adios! >@
  123. G#t>30:b>4:G>2,7,200,57:t>2:b>17:s>0:I>0:
  124.